package com.virgo.demo.cms.domain.bo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HelpCenterBo implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	private Long id;

	@NotBlank(message = "标题不能为空")
	private String name;

	@NotBlank(message = "标识不能为空")
	private String code;

	@NotBlank(message = "内容不能为空")
	private String content;
}